package com.briup.service.impl;

import org.apache.ibatis.session.SqlSession;

import com.briup.common.bean.TblCustomer;
import com.briup.common.dao.TblCustomerMapper;
import com.briup.service.interfaces.TblCustomerService;

public class TblCustomerServiceImpl implements TblCustomerService {

	@Override
	public TblCustomer selectCustomerByNameAndPwd(SqlSession openSession, String name, String pwd) {
		TblCustomer customer = null ;
		TblCustomerMapper mapper = openSession.getMapper(TblCustomerMapper.class) ;
		customer = mapper.selectCustomerByNameAndPwd(name, pwd) ;
		return customer ;
	}

}
